<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
	
	<title>SISTEMA KARAOKE</title>

	<script src="js/jquery-1.10.2.js"></script>
	<script src="js/jquery-ui-1.10.3.js"></script>
    <script src="js/bootstrap.js"></script>
		
    <!-- Le styles -->
    <link href="css/bootstrap.css" rel="stylesheet">    
    <link href="css/bootstrap-responsive.css" rel="stylesheet">
	<link href="css/bootswatch.css" rel="stylesheet">
	<link href="css/jquery-ui-1.10.3.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    
  </head>


  <body class="preview">

    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
          <a class="brand" href="#">SISTEMA KARAOKE</a>
          <div class="nav-collapse collapse">
            <ul class="nav">
              <li class="active"><a href="#">Home</a></li>
              <li><a href="#about">About</a></li>
              <li><a href="#contact">Contact</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="#">Action</a></li>
                  <li><a href="#">Another action</a></li>
                  <li><a href="#">Something else here</a></li>
                  <li class="divider"></li>
                  <li class="nav-header">Nav header</li>
                  <li><a href="#">Separated link</a></li>
                  <li><a href="#">One more separated link</a></li>
                </ul>
              </li>
            </ul>
            
          </div><!--/.nav-collapse -->
        </div>
      </div>
    </div>
	<!-- FIN DEL MENU PRINCIPAL -->
	  
	  	<div class="span8">
		<div class="well">
	  <form method="post" action="ServletClienteSala">
	  		<fieldset>
			<table width="100%">
				<legend>Salas Disponibles</legend>
				
					
		 		<table border="2" align ="center">
				</table>
				
				<table width="550" height="65" border="1" cellpadding="0" cellspacing="0">
					<tr>
					<th width="55" scope="col">Item</th>
					<th width="192" scope="col">NombreSala</th>
					<th width="80" scope="col">Capacidad</th>
					<th width="192" scope="col">Descripcion</th>
					<th width="192" scope="col">NombreLocal</th>
					<th width="192" scope="col">Accion</th>
					<%@page import="java.util.ArrayList,javamusic.modelo.ReservaCliente,java.util.Collection"%>
			
					<%
					ArrayList <ReservaCliente>  vooo = (ArrayList <ReservaCliente>)request.getAttribute("SALAS_DISPONIBLES");
					out.println("<ul>");
					if (vooo != null) {
						int i = 1;
					for ( ReservaCliente  xx : vooo) {
						
						
					%>
					<tr>
					
					<td><%=i++ %></td>
					<td><% out.println(xx.getNombresala()); %> </td>
					<td><% out.println(xx.getCapacidad()); %> </td>
					<td><% out.println(xx.getDescripcion()); %> </td>
					<td><% out.println(xx.getNombrelocal()); %> </td>
					<td><a href="<%=request.getContextPath() %>/ServletClienteReservaEditar?nombre=<%=xx.getNombresala()%>">  Seleccionar</a></td>
					
					</tr>
					
					<% }
					
					
				
			out.println("</ul>");
			} 	%>
			
				
				
				</table>
				<input type="button" value="Atras" onclick="window.location='/ServletClienteReserva'" />
				<input type="button" value="Inicio" onclick="window.location='Principal.jsp'" />
				
			
			</table>
			</fieldset>
		
	   </form>
		</div>
		</div>
		
	
	
	
	<script>
		$(function() {
			$( "#datepicker" ).datepicker();
		});
	</script>
	  </body>
</html>